#ifndef __VOICE_H__
#define __VOICE_H__

#include "stm32f10x.h" 

#define VOICE_DATA_L()   (GPIO_ResetBits(GPIOB,GPIO_Pin_0))
#define VOICE_DATA_H()   (GPIO_SetBits(GPIOB,GPIO_Pin_0))
#define BUSY_STATE GPIO_ReadInputDataBit(GPIOB,GPIO_Pin_1)

void Voice_Init(void);
void Voice_Start(void);
void Voice_Send_High(void);
void Voice_Send_Low(void);
void Voice_Send_Data(u8 data);


#endif
